package com.bambooshoot.domain;

import com.bambooshoot.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 年收入汇总对象 biz_income_yearly_summary
 *
 * @author mxc
 * @date 2024-07-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("biz_income_yearly_summary")
public class BizIncomeYearlySummary extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id_")
    private Long id;

    /**
     * 收入年份
     */
    @TableField(value = "income_year")
    private Date incomeYear;

    /**
     * 收入金额(元)
     */
    @TableField(value = "amount_")
    private BigDecimal amount;

    /**
     * 备注
     */
    @TableField(value = "remark_")
    private String remark;


}
